// 用户相关接口
import http from '@/utils/http'

import type { userLoginPassForm, userLoginData } from '@/types/user'

/*
 * 用户登陆 密码登录
 */
export const userLoginAPI = (data: userLoginPassForm) => {
  return http.post<userLoginData, userLoginPassForm>('/login/password', data)
}
